<!--
 * @Description: 
 * @Author: mxy
 * @Date: 2022-11-30 16:31:48
 * @LastEditors: mxy
 * @LastEditTime: 2022-12-03 20:45:51
-->
<template>
  <div>
    <h1>插槽</h1>
    <my-left>
      <template v-slot:del="{ uname }"
        ><button>删除</button>{{ uname }}</template
      >
    </my-left>

    <my-left>
      <template v-slot:add><button>添加</button></template>
    </my-left>
  </div>
</template>

<script>
import MyLeft from "@/components/MyLeft.vue";
export default {
  components: { MyLeft },
};
</script>

<style>
</style>